
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main" />
  <g:javascript library="prototype" />
  <title>Contratualiza&ccedil;&atilde;o 2010</title>
  <script type="text/javascript">
function mostra_ajax() {
document.getElementById("imgAjax").style.display = 'block';
}
  </script>
</head>
<body>
  <h1>Confirma&ccedil;&atilde;o</h1>
  <div id="updateMe">
    <g:formRemote name="myForm" update="updateMe" onFailure ="alert('Erro Registro Não Pode Ser Efetuado!')"
                  url="[ controller: 'inscricao', action: 'validacao' ]" onLoading="mostra_ajax();"  >
      <div>
        <input type="hidden" name="id" value="${params.id}" />
        <input type="hidden" name="chave" value="${params.chave}"/>
        <fieldset>
          <legend>Confirmação de Inscrição</legend>
          <p>
          <div class="row">
            <div class="col_2">
              <input type="submit" value="Confirmar dados" style="width: 120px;background: green;color: #fff;padding: 5px;"/>
            </div>
            <div class="col_1">
              <img src="../images/ajax-loader.gif" alt="carregando" id="imgAjax" style="display: none;" />
            </div>
          </div>
          </p>
        </fieldset>
      </div>
    </g:formRemote>
  </div>
</body>
</html>
